#include "dominion.h"
#include <stdbool.h>
#include "card_data.h"





const struct card_data cards[] =
{
    //name,          cost, value, action, treasure, victory, +coins, +cards, +actions. +buys

    {"curse",        0, -1, false, false, false, 0, 0, 0, 0},
    {"estate",       2, 1,  false, false, true,  0, 0, 0, 0},
    {"duchy",        5, 3,  false, false, true,  0, 0, 0, 0},
    {"province",     8, 6,  false, false, true,  0, 0, 0, 0},
    {"copper",       0, 1,  false, true,  false, 0, 0, 0, 0},
    {"silver",       3, 2,  false, true,  false, 0, 0, 0, 0},
    {"gold",         6, 3,  false, true,  false, 0, 0, 0, 0},
    {"adventurer",   6, 0,  true,  false, false, 0, 0, 0, 0}, // Reveal until 2 Treasures found
    {"council_room", 5, 0,  true,  false, false, 0, 4, 0, 1}, // Each othe player draws 1 card
    {"feast",        4, 0,  true,  false, false, 0, 0, 0, 0}, // Trash feast, gain a card up to $5
    {"gardens",      4, 0,  false, false, true,  0, 0, 0, 0}, // 1 Victory per 10 cards in deck
    {"mine",         5, 0,  true,  false, false, 0, 0, 0, 0}, // Trash Treasure, gain T up to $3 more
    {"remodel",      4, 0,  true,  false, false, 0, 0, 0, 0}, // Trash card, gain card up to $3 more
    {"smithy",       4, 0,  true,  false, false, 0, 3, 0, 0},
    {"village",      3, 0,  true,  false, false, 0, 1, 2, 0},
    {"baron",        4, 0,  true,  false, false, 0, 0, 0, 1}, // discard Estate, +$4, or gain 1 estate
    {"great_hall",   3, 1,  true,  false, true,  0, 1, 1, 0},
    {"minion",       5, 0,  true,  false, false, 0, 0, 1, 0}, // +$2 | discard hand, +4 cards (others too)
    {"steward",      3, 0,  true,  false, false, 0, 0, 0, 0}, // +2 cards | +$2 | trash 2 cards
    {"tribute",      5, 0,  true,  false, false, 0, 0, 0, 0}, // L players discards 2, etc.
    {"ambassador",   3, 0,  true,  false, false, 0, 0, 0, 0}, // reveal 1, <=2 copies to supply, others get 1
    {"cutpurse",     4, 0,  true,  false, false, 4, 0, 0, 0}, // others discard 1 copper
    {"embargo",      2, 0,  true,  false, false, 0, 0, 0, 0}, // Trash card, put token on a supply pile
    {"outpost",      5, 0,  true,  false, false, 0, 0, 0, 0}, // only draw 3, take an extra turn
    {"salvager",     4, 0,  true,  false, false, 0, 0, 0, 1}, // Trash 1 card, +$ = card cost
    {"sea_hag",      4, 0,  true,  false, false, 0, 0, 0, 0}, // others discard top 2 cards, gain curse
    {"treasure_map", 4, 0,  true,  false, false, 0, 0, 0, 0}  // Trash 2 TM, gain 4 Gold
};





